//
//  CMRequestConstructor.h
//  CocoaMesh
//
//  Created by George  Armah on 4/29/09.
//  Copyright 2009 Lafayette College. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CMCocoaMeshConstants.h"

@interface CMRequestConstructor : NSObject 
{

}


+(NSMutableURLRequest*)requestWithURL:(NSURL*)url 
						 headerFields:(NSDictionary*)hFields 
							 HTTPVerb:(NSString*)verb 
							 HTTPBody:(NSData*)body;

+(NSMutableURLRequest*)windowsLiveIDRequest:(NSString*)userName 
								   password:(NSString*)pwd
							  applicationID:(NSString*)appID;

+(NSMutableURLRequest *)CLOETopLevelRequest:(NSString*)authT;

+(NSMutableURLRequest *)meshResourceGETRequest:(NSString*)authT withURL:(NSURL*)url;

+(NSMutableURLRequest *)meshResourcePUTRequest:(NSString*)authT withURL:(NSURL*)url HTTPBody:(NSData*)body;

+(NSMutableURLRequest *)meshResourceDELETERequest:(NSString*)authT withURL:(NSURL*)url;

+(NSMutableURLRequest *)meshResourcePOSTRequest:(NSString*)authT withURL:(NSURL*)url HTTPBody:(NSData*)body;
@end
